/** 公共路由 */
const commonRouter = [
  {
    path: '/',
    redirect: '/seal',
    meta: {
      anonymous: true
    }
  },
  {
    // TODO 签章操作
    path: '/seal',
    name: 'test-seal',
    component: () => import(/* webpackChunkName: "commonRouter" */ `@/views/OnlineSeal.vue`),
    props: route => ({ id: route.query.id, type: route.query.type }),
    meta: {
      anonymous: true
    }
  },
  {
    // TODO Ukey
    path: '/ukey',
    name: 'test-ukey',
    component: () => import(/* webpackChunkName: "commonRouter" */ `@/views/Ukey.vue`),
    meta: {
      anonymous: true
    }
  }
]
/** 差异路由 */
const diffRouter = [
]
export {
  commonRouter,
  diffRouter
}
